<!DOCTYPE html>
<html lang="en">
<head>
<title>WebView4Delphi: uWVCoreWebView2Environment: Class TCoreWebView2Environment</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="generator" content="PasDoc 0.16.0-snapshot">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link rel="StyleSheet" type="text/css" href="pasdoc.css">
</head>
<body>
<span id="TCoreWebView2Environment"></span><h1 class="cio">Class TCoreWebView2Environment</h1>
<div class="sections">
<div class="one_section"><a class="section" href="#PasDoc-Description">Description</a></div><div class="one_section"><a class="section" href="#PasDoc-Hierarchy">Hierarchy</a></div><div class="one_section"><a class="section" href="#PasDoc-Fields">Fields</a></div><div class="one_section"><a class="section" href="#PasDoc-Methods">Methods</a></div><div class="one_section"><a class="section" href="#PasDoc-Properties">Properties</a></div></div>
<span id="PasDoc-Description"></span><h2 class="unit">Unit</h2>
<p class="unitlink">
<a href="uWVCoreWebView2Environment.html">uWVCoreWebView2Environment</a></p>
<h2 class="declaration">Declaration</h2>
<p class="declaration">
<code>type TCoreWebView2Environment = class(TObject)</code></p>
<h2 class="description">Description</h2>
<p>
 Represents the WebView2 Environment. WebViews created from an environment run on the browser process specified with environment parameters and objects created from an environment should be used in the same environment. Using it in different environments are not guaranteed to be compatible and may fail. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment</a>&quot;&gt;See the ICoreWebView2Environment article.)</p>
<span id="PasDoc-Hierarchy"></span><h2 class="hierarchy">Hierarchy</h2>
<ul class="hierarchy"><li class="ancestor">TObject</li>
<li class="thisitem">TCoreWebView2Environment</li></ul><h2 class="overview">Overview</h2>
<span id="PasDoc-Fields"></span><h3 class="summary">Fields</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf">FBaseIntf</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf2">FBaseIntf2</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment2.html">ICoreWebView2Environment2</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf3">FBaseIntf3</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment3.html">ICoreWebView2Environment3</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf4">FBaseIntf4</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment4.html">ICoreWebView2Environment4</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf5">FBaseIntf5</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment5.html">ICoreWebView2Environment5</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf6">FBaseIntf6</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment6.html">ICoreWebView2Environment6</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf7">FBaseIntf7</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment7.html">ICoreWebView2Environment7</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf8">FBaseIntf8</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment8.html">ICoreWebView2Environment8</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf9">FBaseIntf9</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment9.html">ICoreWebView2Environment9</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf10">FBaseIntf10</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment10.html">ICoreWebView2Environment10</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf11">FBaseIntf11</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment11.html">ICoreWebView2Environment11</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf12">FBaseIntf12</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment12.html">ICoreWebView2Environment12</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf13">FBaseIntf13</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment13.html">ICoreWebView2Environment13</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf14">FBaseIntf14</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment14.html">ICoreWebView2Environment14</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FNewBrowserVersionAvailableEventToken">FNewBrowserVersionAvailableEventToken</a></strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBrowserProcessExitedEventToken">FBrowserProcessExitedEventToken</a></strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code><strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FProcessInfosChangedEventToken">FProcessInfosChangedEventToken</a></strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
</table>
<span id="PasDoc-Methods"></span><h3 class="summary">Methods</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetInitialized">GetInitialized</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetBrowserVersionInfo">GetBrowserVersionInfo</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsCompositionController">GetSupportsCompositionController</a></strong>: boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsControllerOptions">GetSupportsControllerOptions</a></strong>: boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetUserDataFolder">GetUserDataFolder</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetProcessInfos">GetProcessInfos</a></strong>: <a href="uWVTypeLibrary.ICoreWebView2ProcessInfoCollection.html">ICoreWebView2ProcessInfoCollection</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetFailureReportFolderPath">GetFailureReportFolderPath</a></strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#InitializeFields">InitializeFields</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#InitializeTokens">InitializeTokens</a></strong>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>procedure <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#RemoveAllEvents">RemoveAllEvents</a></strong>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddNewBrowserVersionAvailableEvent-TComponent-">AddNewBrowserVersionAvailableEvent</a></strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddBrowserProcessExitedLoaderEvent-TComponent-">AddBrowserProcessExitedLoaderEvent</a></strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddBrowserProcessExitedBrowserEvent-TComponent-">AddBrowserProcessExitedBrowserEvent</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddProcessInfosChangedLoaderEvent-TComponent-">AddProcessInfosChangedLoaderEvent</a></strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddProcessInfosChangedBrowserEvent-TComponent-">AddProcessInfosChangedBrowserEvent</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>constructor <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#Create-ICoreWebView2Environment-">Create</a></strong>(const aBaseIntf : <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>); reintroduce;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>destructor <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#Destroy">Destroy</a></strong>; override;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddAllLoaderEvents-TComponent-">AddAllLoaderEvents</a></strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#AddAllBrowserEvents-TComponent-">AddAllBrowserEvents</a></strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2Controller-THandle-IWVBrowserEvents-HRESULT-">CreateCoreWebView2Controller</a></strong>(aParentWindow : THandle; const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HRESULT) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateWebResourceResponse-IStream-integer-wvstring-wvstring-ICoreWebView2WebResourceResponse-">CreateWebResourceResponse</a></strong>(const aContent : IStream; aStatusCode : integer; aReasonPhrase, aHeaders : <a href="uWVTypes.html#wvstring">wvstring</a>; var aResponse : <a href="uWVTypeLibrary.ICoreWebView2WebResourceResponse.html">ICoreWebView2WebResourceResponse</a>) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateWebResourceRequest-wvstring-wvstring-IStream-wvstring-ICoreWebView2WebResourceRequest-">CreateWebResourceRequest</a></strong>(const aURI, aMethod : <a href="uWVTypes.html#wvstring">wvstring</a>; const aPostData : IStream; const aHeaders : <a href="uWVTypes.html#wvstring">wvstring</a>; var aRequest : <a href="uWVTypeLibrary.ICoreWebView2WebResourceRequest.html">ICoreWebView2WebResourceRequest</a>): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2CompositionController-THandle-IWVBrowserEvents-HRESULT-">CreateCoreWebView2CompositionController</a></strong>(aParentWindow : THandle; const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HRESULT) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2PointerInfo-ICoreWebView2PointerInfo-">CreateCoreWebView2PointerInfo</a></strong>(var aPointerInfo : <a href="uWVTypeLibrary.ICoreWebView2PointerInfo.html">ICoreWebView2PointerInfo</a>) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetAutomationProviderForWindow-THandle-IUnknown-">GetAutomationProviderForWindow</a></strong>(aHandle : THandle; var aProvider : IUnknown) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreatePrintSettings-ICoreWebView2PrintSettings-">CreatePrintSettings</a></strong>(var aPrintSettings : <a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html">ICoreWebView2PrintSettings</a>) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateContextMenuItem-wvstring-IStream-TWVMenuItemKind-ICoreWebView2ContextMenuItem-">CreateContextMenuItem</a></strong>(const aLabel : <a href="uWVTypes.html#wvstring">wvstring</a>; const aIconStream : IStream; aKind : <a href="uWVTypes.html#TWVMenuItemKind">TWVMenuItemKind</a>; var aMenuItem : <a href="uWVTypeLibrary.ICoreWebView2ContextMenuItem.html">ICoreWebView2ContextMenuItem</a>) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2ControllerOptions-ICoreWebView2ControllerOptions-HResult-">CreateCoreWebView2ControllerOptions</a></strong>(var aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2ControllerWithOptions-HWND-ICoreWebView2ControllerOptions-IWVBrowserEvents-HResult-">CreateCoreWebView2ControllerWithOptions</a></strong>(aParentWindow: HWND; const aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; const aBrowserEvents: <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateCoreWebView2CompositionControllerWithOptions-HWND-ICoreWebView2ControllerOptions-IWVBrowserEvents-HResult-">CreateCoreWebView2CompositionControllerWithOptions</a></strong>(aParentWindow: HWND; const aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; const aBrowserEvents: <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateSharedBuffer-Largeuint-ICoreWebView2SharedBuffer-">CreateSharedBuffer</a></strong>(aSize : Largeuint; var aSharedBuffer : <a href="uWVTypeLibrary.ICoreWebView2SharedBuffer.html">ICoreWebView2SharedBuffer</a>) : boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetProcessExtendedInfos-IWVBrowserEvents-">GetProcessExtendedInfos</a></strong>(const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>) : boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateWebFileSystemFileHandle-wvstring-TWVFileSystemHandlePermission-ICoreWebView2FileSystemHandle-">CreateWebFileSystemFileHandle</a></strong>(const aPath : <a href="uWVTypes.html#wvstring">wvstring</a>; aPermission : <a href="uWVTypes.html#TWVFileSystemHandlePermission">TWVFileSystemHandlePermission</a>; var aValue : <a href="uWVTypeLibrary.ICoreWebView2FileSystemHandle.html">ICoreWebView2FileSystemHandle</a>): boolean;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateWebFileSystemDirectoryHandle-wvstring-TWVFileSystemHandlePermission-ICoreWebView2FileSystemHandle-">CreateWebFileSystemDirectoryHandle</a></strong>(const aPath : <a href="uWVTypes.html#wvstring">wvstring</a>; aPermission : <a href="uWVTypes.html#TWVFileSystemHandlePermission">TWVFileSystemHandlePermission</a>; var aValue : <a href="uWVTypeLibrary.ICoreWebView2FileSystemHandle.html">ICoreWebView2FileSystemHandle</a>): boolean;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>function <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#CreateObjectCollection-cardinal-IUnknown-ICoreWebView2ObjectCollection-">CreateObjectCollection</a></strong>( aLength : cardinal; var aItems : IUnknown; var aObjectCollection : <a href="uWVTypeLibrary.ICoreWebView2ObjectCollection.html">ICoreWebView2ObjectCollection</a>): boolean;</code></td>
</tr>
</table>
<span id="PasDoc-Properties"></span><h3 class="summary">Properties</h3>
<table class="summary wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#Initialized">Initialized</a></strong>                   : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#BaseIntf">BaseIntf</a></strong>                      : <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#BrowserVersionInfo">BrowserVersionInfo</a></strong>            : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetBrowserVersionInfo">GetBrowserVersionInfo</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#SupportsCompositionController">SupportsCompositionController</a></strong> : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsCompositionController">GetSupportsCompositionController</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#SupportsControllerOptions">SupportsControllerOptions</a></strong>     : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsControllerOptions">GetSupportsControllerOptions</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#UserDataFolder">UserDataFolder</a></strong>                : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetUserDataFolder">GetUserDataFolder</a>;</code></td>
</tr>
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#ProcessInfos">ProcessInfos</a></strong>                  : <a href="uWVTypeLibrary.ICoreWebView2ProcessInfoCollection.html">ICoreWebView2ProcessInfoCollection</a>  read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetProcessInfos">GetProcessInfos</a>;</code></td>
</tr>
<tr class="list2">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><code>property <strong><a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FailureReportFolderPath">FailureReportFolderPath</a></strong>       : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetFailureReportFolderPath">GetFailureReportFolderPath</a>;</code></td>
</tr>
</table>
<h2 class="description">Description</h2>
<h3 class="detail">Fields</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf"></span><code><strong>FBaseIntf</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf2"></span><code><strong>FBaseIntf2</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment2.html">ICoreWebView2Environment2</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf3"></span><code><strong>FBaseIntf3</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment3.html">ICoreWebView2Environment3</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf4"></span><code><strong>FBaseIntf4</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment4.html">ICoreWebView2Environment4</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf5"></span><code><strong>FBaseIntf5</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment5.html">ICoreWebView2Environment5</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf6"></span><code><strong>FBaseIntf6</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment6.html">ICoreWebView2Environment6</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf7"></span><code><strong>FBaseIntf7</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment7.html">ICoreWebView2Environment7</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf8"></span><code><strong>FBaseIntf8</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment8.html">ICoreWebView2Environment8</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf9"></span><code><strong>FBaseIntf9</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment9.html">ICoreWebView2Environment9</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf10"></span><code><strong>FBaseIntf10</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment10.html">ICoreWebView2Environment10</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf11"></span><code><strong>FBaseIntf11</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment11.html">ICoreWebView2Environment11</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf12"></span><code><strong>FBaseIntf12</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment12.html">ICoreWebView2Environment12</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf13"></span><code><strong>FBaseIntf13</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment13.html">ICoreWebView2Environment13</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBaseIntf14"></span><code><strong>FBaseIntf14</strong>: <a href="uWVTypeLibrary.ICoreWebView2Environment14.html">ICoreWebView2Environment14</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FNewBrowserVersionAvailableEventToken"></span><code><strong>FNewBrowserVersionAvailableEventToken</strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FBrowserProcessExitedEventToken"></span><code><strong>FBrowserProcessExitedEventToken</strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="FProcessInfosChangedEventToken"></span><code><strong>FProcessInfosChangedEventToken</strong>: <a href="uWVTypeLibrary.EventRegistrationToken.html">EventRegistrationToken</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<h3 class="detail">Methods</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetInitialized"></span><code>function <strong>GetInitialized</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetBrowserVersionInfo"></span><code>function <strong>GetBrowserVersionInfo</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetSupportsCompositionController"></span><code>function <strong>GetSupportsCompositionController</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetSupportsControllerOptions"></span><code>function <strong>GetSupportsControllerOptions</strong>: boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetUserDataFolder"></span><code>function <strong>GetUserDataFolder</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetProcessInfos"></span><code>function <strong>GetProcessInfos</strong>: <a href="uWVTypeLibrary.ICoreWebView2ProcessInfoCollection.html">ICoreWebView2ProcessInfoCollection</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="GetFailureReportFolderPath"></span><code>function <strong>GetFailureReportFolderPath</strong>: <a href="uWVTypes.html#wvstring">wvstring</a>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="InitializeFields"></span><code>procedure <strong>InitializeFields</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="InitializeTokens"></span><code>procedure <strong>InitializeTokens</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="RemoveAllEvents"></span><code>procedure <strong>RemoveAllEvents</strong>;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddNewBrowserVersionAvailableEvent-TComponent-"></span><code>function <strong>AddNewBrowserVersionAvailableEvent</strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddBrowserProcessExitedLoaderEvent-TComponent-"></span><code>function <strong>AddBrowserProcessExitedLoaderEvent</strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddBrowserProcessExitedBrowserEvent-TComponent-"></span><code>function <strong>AddBrowserProcessExitedBrowserEvent</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddProcessInfosChangedLoaderEvent-TComponent-"></span><code>function <strong>AddProcessInfosChangedLoaderEvent</strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="protected.gif" alt="Protected" title="Protected"></a></td>
<td class="itemcode"><span id="AddProcessInfosChangedBrowserEvent-TComponent-"></span><code>function <strong>AddProcessInfosChangedBrowserEvent</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Create-ICoreWebView2Environment-"></span><code>constructor <strong>Create</strong>(const aBaseIntf : <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>); reintroduce;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Destroy"></span><code>destructor <strong>Destroy</strong>; override;</code></td>
</tr>
<tr><td colspan="2">
<p class="nodescription">This item has no description.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="AddAllLoaderEvents-TComponent-"></span><code>function <strong>AddAllLoaderEvents</strong>(const aLoaderComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Adds all the events of this class to an existing TWVLoader instance. </p>
<p>
 </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aLoaderComponent</dt>
<dd>The TWVLoader instance.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="AddAllBrowserEvents-TComponent-"></span><code>function <strong>AddAllBrowserEvents</strong>(const aBrowserComponent : TComponent) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Adds all the events of this class to an existing TWVBrowserBase instance. </p>
<p>
 </p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aBrowserComponent</dt>
<dd>The TWVBrowserBase instance.</dd>
</dl>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2Controller-THandle-IWVBrowserEvents-HRESULT-"></span><code>function <strong>CreateCoreWebView2Controller</strong>(aParentWindow : THandle; const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HRESULT) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Asynchronously create a new WebView. </p>
<p>
 

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aParentWindow</dt>
<dd>Handle of the control in which the WebView should be displayed.</dd>
<dt>aBrowserEvents</dt>
<dd>The TWVBrowserBase instance that will receive all the events.</dd>
<dt>aResult</dt>
<dd>Result code.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#createcorewebview2controller">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#createcorewebview2controller</a>&quot;&gt;See the ICoreWebView2Environment article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateWebResourceResponse-IStream-integer-wvstring-wvstring-ICoreWebView2WebResourceResponse-"></span><code>function <strong>CreateWebResourceResponse</strong>(const aContent : IStream; aStatusCode : integer; aReasonPhrase, aHeaders : <a href="uWVTypes.html#wvstring">wvstring</a>; var aResponse : <a href="uWVTypeLibrary.ICoreWebView2WebResourceResponse.html">ICoreWebView2WebResourceResponse</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new web resource response object. </p>
<p>
 

<p>

<p>

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aContent</dt>
<dd>HTTP response content as stream.</dd>
<dt>aStatusCode</dt>
<dd>The HTTP response status code.</dd>
<dt>aReasonPhrase</dt>
<dd>The HTTP response reason phrase.</dd>
<dt>aHeaders</dt>
<dd>Overridden HTTP response headers.</dd>
<dt>aResponse</dt>
<dd>The new ICoreWebView2WebResourceResponse instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#createcorewebview2controller">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#createcorewebview2controller</a>&quot;&gt;See the ICoreWebView2Environment article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateWebResourceRequest-wvstring-wvstring-IStream-wvstring-ICoreWebView2WebResourceRequest-"></span><code>function <strong>CreateWebResourceRequest</strong>(const aURI, aMethod : <a href="uWVTypes.html#wvstring">wvstring</a>; const aPostData : IStream; const aHeaders : <a href="uWVTypes.html#wvstring">wvstring</a>; var aRequest : <a href="uWVTypeLibrary.ICoreWebView2WebResourceRequest.html">ICoreWebView2WebResourceRequest</a>): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new web resource request object. URI parameter must be absolute URI. The headers string is the raw request header string delimited by CRLF (optional in last header). It's also possible to create this object with null headers string and then use the ICoreWebView2HttpRequestHeaders to construct the headers line by line. </p>
<p>
 

<p>

<p>

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aURI</dt>
<dd>The request URI.</dd>
<dt>aMethod</dt>
<dd>The HTTP request method.</dd>
<dt>aPostData</dt>
<dd>The HTTP request message body as stream.</dd>
<dt>aHeaders</dt>
<dd>The mutable HTTP request headers.</dd>
<dt>aRequest</dt>
<dd>The new ICoreWebView2WebResourceRequest instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment2#createwebresourcerequest">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment2#createwebresourcerequest</a>&quot;&gt;See the ICoreWebView2Environment2 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2CompositionController-THandle-IWVBrowserEvents-HRESULT-"></span><code>function <strong>CreateCoreWebView2CompositionController</strong>(aParentWindow : THandle; const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HRESULT) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Asynchronously create a new WebView for use with visual hosting. </p>
<p>
 

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aParentWindow</dt>
<dd>Handle of the control in which the app will connect the visual tree of the WebView.</dd>
<dt>aBrowserEvents</dt>
<dd>The TWVBrowserBase instance that will receive all the events.</dd>
<dt>aResult</dt>
<dd>Result code.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3#createcorewebview2compositioncontroller">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3#createcorewebview2compositioncontroller</a>&quot;&gt;See the ICoreWebView2Environment3 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2PointerInfo-ICoreWebView2PointerInfo-"></span><code>function <strong>CreateCoreWebView2PointerInfo</strong>(var aPointerInfo : <a href="uWVTypeLibrary.ICoreWebView2PointerInfo.html">ICoreWebView2PointerInfo</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create an empty ICoreWebView2PointerInfo. The returned ICoreWebView2PointerInfo needs to be populated with all of the relevant info before calling SendPointerInput. </p>
<p>
 

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aPointerInfo</dt>
<dd>The new ICoreWebView2PointerInfo instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3#createcorewebview2pointerinfo">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3#createcorewebview2pointerinfo</a>&quot;&gt;See the ICoreWebView2Environment3 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="GetAutomationProviderForWindow-THandle-IUnknown-"></span><code>function <strong>GetAutomationProviderForWindow</strong>(aHandle : THandle; var aProvider : IUnknown) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the Automation Provider for the WebView that matches the provided window. Host apps are expected to implement IRawElementProviderHwndOverride. When GetOverrideProviderForHwnd is called, the app can pass the HWND to GetAutomationProviderForWindow to find the matching WebView Automation Provider. </p>
<p>
 

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aHandle</dt>
<dd>Handle used to find the matching WebView Automation Provider.</dd>
<dt>aProvider</dt>
<dd>The Automation Provider for the WebView that matches the provided window.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment4#getautomationproviderforwindow">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment4#getautomationproviderforwindow</a>&quot;&gt;See the ICoreWebView2Environment4 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreatePrintSettings-ICoreWebView2PrintSettings-"></span><code>function <strong>CreatePrintSettings</strong>(var aPrintSettings : <a href="uWVTypeLibrary.ICoreWebView2PrintSettings.html">ICoreWebView2PrintSettings</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Creates the `ICoreWebView2PrintSettings` used by the `PrintToPdf` method. </p>
<p>
 

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aPrintSettings</dt>
<dd>The new ICoreWebView2PrintSettings instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment6#createprintsettings">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment6#createprintsettings</a>&quot;&gt;See the ICoreWebView2Environment6 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateContextMenuItem-wvstring-IStream-TWVMenuItemKind-ICoreWebView2ContextMenuItem-"></span><code>function <strong>CreateContextMenuItem</strong>(const aLabel : <a href="uWVTypes.html#wvstring">wvstring</a>; const aIconStream : IStream; aKind : <a href="uWVTypes.html#TWVMenuItemKind">TWVMenuItemKind</a>; var aMenuItem : <a href="uWVTypeLibrary.ICoreWebView2ContextMenuItem.html">ICoreWebView2ContextMenuItem</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>Create a custom `ContextMenuItem` object to insert into the WebView context menu. CoreWebView2 will rewind the icon stream before decoding.

<p>There is a limit of 1000 active custom context menu items at a given time. Attempting to create more before deleting existing ones will fail with ERROR_NOT_ENOUGH_QUOTA.

<p>It is recommended to reuse ContextMenuItems across ContextMenuRequested events for performance.

<p>The returned ContextMenuItem object's `IsEnabled` property will default to `TRUE` and `IsChecked` property will default to `FALSE`. A `CommandId` will be assigned to the ContextMenuItem object that's unique across active custom context menu items, but command ID values of deleted ContextMenuItems can be reassigned.

<p></p>
<p>
 

<p>

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aLabel</dt>
<dd>Context menu item label.</dd>
<dt>aIconStream</dt>
<dd>Context menu item icon as stream.</dd>
<dt>aKind</dt>
<dd>Context menu item kind.</dd>
<dt>aMenuItem</dt>
<dd>The new ICoreWebView2ContextMenuItem instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment9#createcontextmenuitem">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment9#createcontextmenuitem</a>&quot;&gt;See the ICoreWebView2Environment9 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2ControllerOptions-ICoreWebView2ControllerOptions-HResult-"></span><code>function <strong>CreateCoreWebView2ControllerOptions</strong>(var aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new ICoreWebView2ControllerOptions to be passed as a parameter of CreateCoreWebView2ControllerWithOptions and CreateCoreWebView2CompositionControllerWithOptions. The 'options' is settable and in it the default value for profile name is the empty string, and the default value for IsInPrivateModeEnabled is false. Also the profile name can be reused. </p>
<p>
 

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aOptions</dt>
<dd>The new ICoreWebView2ControllerOptions instance.</dd>
<dt>aResult</dt>
<dd>Result code.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2controlleroptions">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2controlleroptions</a>&quot;&gt;See the ICoreWebView2Environment10 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2ControllerWithOptions-HWND-ICoreWebView2ControllerOptions-IWVBrowserEvents-HResult-"></span><code>function <strong>CreateCoreWebView2ControllerWithOptions</strong>(aParentWindow: HWND; const aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; const aBrowserEvents: <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new WebView with options. </p>
<p>
 

<p>

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aParentWindow</dt>
<dd>Handle of the control in which the WebView should be displayed.</dd>
<dt>aOptions</dt>
<dd>The ICoreWebView2ControllerOptions instance created with CreateCoreWebView2ControllerOptions.</dd>
<dt>aBrowserEvents</dt>
<dd>The TWVBrowserBase instance that will receive all the events.</dd>
<dt>aResult</dt>
<dd>Result code.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2controllerwithoptions">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2controllerwithoptions</a>&quot;&gt;See the ICoreWebView2Environment10 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateCoreWebView2CompositionControllerWithOptions-HWND-ICoreWebView2ControllerOptions-IWVBrowserEvents-HResult-"></span><code>function <strong>CreateCoreWebView2CompositionControllerWithOptions</strong>(aParentWindow: HWND; const aOptions: <a href="uWVTypeLibrary.ICoreWebView2ControllerOptions.html">ICoreWebView2ControllerOptions</a>; const aBrowserEvents: <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>; var aResult: HResult): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a new WebView in visual hosting mode with options. </p>
<p>
 

<p>

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aParentWindow</dt>
<dd>Handle of the control in which the app will connect the visual tree of the WebView.</dd>
<dt>aOptions</dt>
<dd>The ICoreWebView2ControllerOptions instance created with CreateCoreWebView2ControllerOptions.</dd>
<dt>aBrowserEvents</dt>
<dd>The TWVBrowserBase instance that will receive all the events.</dd>
<dt>aResult</dt>
<dd>Result code.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2compositioncontrollerwithoptions">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10#createcorewebview2compositioncontrollerwithoptions</a>&quot;&gt;See the ICoreWebView2Environment10 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateSharedBuffer-Largeuint-ICoreWebView2SharedBuffer-"></span><code>function <strong>CreateSharedBuffer</strong>(aSize : Largeuint; var aSharedBuffer : <a href="uWVTypeLibrary.ICoreWebView2SharedBuffer.html">ICoreWebView2SharedBuffer</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a shared memory based buffer with the specified size in bytes. The buffer can be shared with web contents in WebView by calling `PostSharedBufferToScript` on `CoreWebView2` or `CoreWebView2Frame` object. Once shared, the same content of the buffer will be accessible from both the app process and script in WebView. Modification to the content will be visible to all parties that have access to the buffer. The shared buffer is presented to the script as ArrayBuffer. All JavaScript APIs that work for ArrayBuffer including Atomics APIs can be used on it. There is currently a limitation that only size less than 2GB is supported. </p>
<p>
 

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aSize</dt>
<dd>Buffer size in bytes.</dd>
<dt>aSharedBuffer</dt>
<dd>The new ICoreWebView2SharedBuffer instance.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment12#createsharedbuffer">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment12#createsharedbuffer</a>&quot;&gt;See the ICoreWebView2Environment12 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="GetProcessExtendedInfos-IWVBrowserEvents-"></span><code>function <strong>GetProcessExtendedInfos</strong>(const aBrowserEvents : <a href="uWVInterfaces.IWVBrowserEvents.html">IWVBrowserEvents</a>) : boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Gets a snapshot collection of `ProcessExtendedInfo`s corresponding to all currently running processes associated with this `ICoreWebView2Environment` excludes crashpad process. This provides the same list of `ProcessInfo`s as what's provided in `GetProcessInfos`, but additionally provides a list of associated `FrameInfo`s which are actively running (showing or hiding UI elements) in the renderer process. See `AssociatedFrameInfos` for more information. </p>
<p>
 

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aBrowserEvents</dt>
<dd>The TWVBrowserBase instance that will receive all the events.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment13#getprocessextendedinfos">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment13#getprocessextendedinfos</a>&quot;&gt;See the ICoreWebView2Environment13 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateWebFileSystemFileHandle-wvstring-TWVFileSystemHandlePermission-ICoreWebView2FileSystemHandle-"></span><code>function <strong>CreateWebFileSystemFileHandle</strong>(const aPath : <a href="uWVTypes.html#wvstring">wvstring</a>; aPermission : <a href="uWVTypes.html#TWVFileSystemHandlePermission">TWVFileSystemHandlePermission</a>; var aValue : <a href="uWVTypeLibrary.ICoreWebView2FileSystemHandle.html">ICoreWebView2FileSystemHandle</a>): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>Create a `ICoreWebView2FileSystemHandle` object from a path that represents a Web [FileSystemFileHandle](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle">https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle</a>).

<p>The `path` is the path pointed by the file and must be a syntactically correct fully qualified path, but it is not checked here whether it currently points to a file. If an invalid path is passed, an E_INVALIDARG will be returned and the object will fail to create. Any other state validation will be done when this handle is accessed from web content and will cause the DOM exceptions described in [FileSystemFileHandle methods](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle#instance_methods">https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle#instance_methods</a>) if access operations fail.

<p>`Permission` property is used to specify whether the Handle should be created with a Read-only or Read-and-write web permission. For the `permission` value specified here, the DOM [PermissionStatus](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus">https://developer.mozilla.org/docs/Web/API/PermissionStatus</a>) property will be [granted](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus/state">https://developer.mozilla.org/docs/Web/API/PermissionStatus/state</a>) and the unspecified permission will be [prompt](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus/state">https://developer.mozilla.org/docs/Web/API/PermissionStatus/state</a>). Therefore, the web content then does not need to call [requestPermission](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemHandle/requestPermission">https://developer.mozilla.org/docs/Web/API/FileSystemHandle/requestPermission</a>) for the permission that was specified before attempting the permitted operation, but if it does, the promise will immediately be resolved with 'granted' PermissionStatus without firing the WebView2 [PermissionRequested](/microsoft-edge/webview2/reference/win32/icorewebview2permissionrequestedeventargs) event or prompting the user for permission. Otherwise, `requestPermission` will behave as the status of permission is currently `prompt`, which means the `PermissionRequested` event will fire or the user will be prompted.

<p>Additionally, the app must have the same OS permissions that have propagated to the [WebView2 browser process](/microsoft-edge/webview2/concepts/process-model) for the path it wishes to give the web content to read/write the file.

<p>Specifically, the WebView2 browser process will run in same user, package identity, and app container of the app, but other means such as security context impersonations do not get propagated, so such permissions that the app has, will not be effective in WebView2.

<p>Note: An exception to this is, if there is a parent directory handle that has broader permissions in the same page context than specified in here, the handle will automatically inherit the most permissive permission of the parent handle when posted to that page context. i.e. If there is already a `FileSystemDirectoryHandle` to `C:\example` that has write permission on a page, even though a WebFileSystemHandle to file `C:\example\file.txt` is created with `COREWEBVIEW2_FILE_SYSTEM_HANDLE_PERMISSION_READ_ONLY` permission, when posted to that page, write permission will be automatically granted to the created handle.

<p>An app needs to be mindful that this object, when posted to the web content, provides it with unusual access to OS file system via the Web FileSystem API! The app should therefore only post objects for paths that it wants to allow access to the web content and it is not recommended that the web content &quot;asks&quot; for this path. The app should also check the source property of the target to ensure that it is sending to the web content of intended origin.

<p>Once the object is passed to web content, if the content is attempting a read, the file must be existing and available to read similar to a file chosen by [open file picker](<a href="https://developer.mozilla.org/docs/Web/API/Window/showOpenFilePicker">https://developer.mozilla.org/docs/Web/API/Window/showOpenFilePicker</a>), otherwise the read operation will [throw a DOM exception](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile#exceptions">https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/getFile#exceptions</a>). For write operations, the file does not need to exist as `FileSystemFileHandle` will behave as a file path chosen by [save file picker](<a href="https://developer.mozilla.org/docs/Web/API/Window/showSaveFilePicker">https://developer.mozilla.org/docs/Web/API/Window/showSaveFilePicker</a>) and will create or overwrite the file, but the parent directory structure pointed by the file must exist and an existing file must be available to write and delete or the write operation will [throw a DOM exception](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createWritable#exceptions">https://developer.mozilla.org/docs/Web/API/FileSystemFileHandle/createWritable#exceptions</a>).

<p></p>
<p>
 

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aPath</dt>
<dd>The path pointed by the file.</dd>
<dt>aPermission</dt>
<dd>Used to specify whether the Handle should be created with a Read-only or Read-and-write web permission.</dd>
<dt>aValue</dt>
<dd>The ICoreWebView2FileSystemHandle object created from a path that represents a Web FileSystemFileHandle.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createwebfilesystemfilehandle">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createwebfilesystemfilehandle</a>&quot;&gt;See the ICoreWebView2Environment14 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateWebFileSystemDirectoryHandle-wvstring-TWVFileSystemHandlePermission-ICoreWebView2FileSystemHandle-"></span><code>function <strong>CreateWebFileSystemDirectoryHandle</strong>(const aPath : <a href="uWVTypes.html#wvstring">wvstring</a>; aPermission : <a href="uWVTypes.html#TWVFileSystemHandlePermission">TWVFileSystemHandlePermission</a>; var aValue : <a href="uWVTypeLibrary.ICoreWebView2FileSystemHandle.html">ICoreWebView2FileSystemHandle</a>): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>


<p>Create a `ICoreWebView2FileSystemHandle` object from a path that represents a Web [FileSystemDirectoryHandle](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle">https://developer.mozilla.org/docs/Web/API/FileSystemDirectoryHandle</a>).

<p>The `path` is the path pointed by the directory and must be a syntactically correct fully qualified path, but it is not checked here whether it currently points to a directory. Any other state validation will be done when this handle is accessed from web content and will cause DOM exceptions if access operations fail. If an invalid path is passed, an E_INVALIDARG will be returned and the object will fail to create.

<p>`Permission` property is used to specify whether the Handle should be created with a Read-only or Read-and-write web permission. For the `permission` value specified here, the Web [PermissionStatus](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus">https://developer.mozilla.org/docs/Web/API/PermissionStatus</a>) will be [granted](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus/state">https://developer.mozilla.org/docs/Web/API/PermissionStatus/state</a>) and the unspecified permission will be [prompt](<a href="https://developer.mozilla.org/docs/Web/API/PermissionStatus/state">https://developer.mozilla.org/docs/Web/API/PermissionStatus/state</a>). Therefore, the web content then does not need to call [requestPermission](<a href="https://developer.mozilla.org/docs/Web/API/FileSystemHandle/requestPermission">https://developer.mozilla.org/docs/Web/API/FileSystemHandle/requestPermission</a>) for the permission that was specified before attempting the permitted operation, but if it does, the promise will immediately be resolved with 'granted' PermissionStatus without firing the WebView2 [PermissionRequested](/microsoft-edge/webview2/reference/win32/icorewebview2permissionrequestedeventargs) event or prompting the user for permission. Otherwise, `requestPermission` will behave as the status of permission is currently `Prompt`, which means the `PermissionRequested` event will fire or the user will be prompted.

<p>Additionally, the app must have the same OS permissions that have propagated to the [WebView2 browser process](/microsoft-edge/webview2/concepts/process-model) for the path it wishes to give the web content to make any operations on the directory. Specifically, the WebView2 browser process will run in same user, package identity, and app container of the app, but other means such as security context impersonations do not get propagated, so such permissions that the app has, will not be effective in WebView2.

<p>Note: An exception to this is, if there is a parent directory handle that has broader permissions in the same page context than specified in here, the handle will automatically inherit the most permissive permission of the parent handle when posted to that page context. i.e. If there is already a `FileSystemDirectoryHandle` to `C:\example` that has write permission on a page, even though a WebFileSystemHandle to directory `C:\example\directory` is created with `COREWEBVIEW2_FILE_SYSTEM_HANDLE_PERMISSION_READ_ONLY` permission, when posted to that page, write permission will be automatically granted to the created handle.

<p>An app needs to be mindful that this object, when posted to the web content, provides it with unusual access to OS file system via the Web FileSystem API! The app should therefore only post objects for paths that it wants to allow access to the web content and it is not recommended that the web content &quot;asks&quot; for this path. The app should also check the source property of the target to ensure that it is sending to the web content of intended origin.

<p>Once the object is passed to web content, the path must point to a directory as if it was chosen via [directory picker](<a href="https://developer.mozilla.org/docs/Web/API/Window/showDirectoryPicker">https://developer.mozilla.org/docs/Web/API/Window/showDirectoryPicker</a>) otherwise any IO operation done on the `FileSystemDirectoryHandle` will throw a DOM exception.

<p></p>
<p>
 

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aPath</dt>
<dd>The path pointed by the directory.</dd>
<dt>aPermission</dt>
<dd>Used to specify whether the Handle should be created with a Read-only or Read-and-write web permission.</dd>
<dt>aValue</dt>
<dd>The ICoreWebView2FileSystemHandle object created from a path that represents a Web FileSystemDirectoryHandle.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createwebfilesystemdirectoryhandle">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createwebfilesystemdirectoryhandle</a>&quot;&gt;See the ICoreWebView2Environment14 article.</p></td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="CreateObjectCollection-cardinal-IUnknown-ICoreWebView2ObjectCollection-"></span><code>function <strong>CreateObjectCollection</strong>( aLength : cardinal; var aItems : IUnknown; var aObjectCollection : <a href="uWVTypeLibrary.ICoreWebView2ObjectCollection.html">ICoreWebView2ObjectCollection</a>): boolean;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Create a generic object collection. </p>
<p>
 

<p>

<p>

<p></p>
<h6 class="description_section">Parameters</h6>
<dl class="parameters">
<dt>aLength</dt>
<dd>Amount of items.</dd>
<dt>aItems</dt>
<dd>Used to specify whether the Handle should be created with a Read-only or Read-and-write web permission.</dd>
<dt>aObjectCollection</dt>
<dd>The ICoreWebView2ObjectCollection object created with aItems.</dd>
</dl>
<h6 class="description_section">Returns</h6>
<p class="return">True if successfull.&lt;/return&gt;

<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createobjectcollection">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment14#createobjectcollection</a>&quot;&gt;See the ICoreWebView2Environment14 article.</p></td></tr>
</table>
<h3 class="detail">Properties</h3>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="Initialized"></span><code>property <strong>Initialized</strong>                   : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetInitialized">GetInitialized</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true when the interface implemented by this class is fully initialized. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="BaseIntf"></span><code>property <strong>BaseIntf</strong>                      : <a href="uWVTypeLibrary.ICoreWebView2Environment.html">ICoreWebView2Environment</a>            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#FBaseIntf">FBaseIntf</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the interface implemented by this class. </p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="BrowserVersionInfo"></span><code>property <strong>BrowserVersionInfo</strong>            : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetBrowserVersionInfo">GetBrowserVersionInfo</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 The browser version info of the current `ICoreWebView2Environment`, including channel name if it is not the WebView2 Runtime. It matches the format of the `GetAvailableCoreWebView2BrowserVersionString` API. Channel names are `beta`, `dev`, and `canary`. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#get_browserversionstring">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment#get_browserversionstring</a>&quot;&gt;See the ICoreWebView2Environment article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SupportsCompositionController"></span><code>property <strong>SupportsCompositionController</strong> : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsCompositionController">GetSupportsCompositionController</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true if the current WebView2 runtime version supports Composition Controllers. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment3</a>&quot;&gt;See the ICoreWebView2Environment3 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="SupportsControllerOptions"></span><code>property <strong>SupportsControllerOptions</strong>     : boolean                             read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetSupportsControllerOptions">GetSupportsControllerOptions</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns true if the current WebView2 runtime version supports Controller Options. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment10</a>&quot;&gt;See the ICoreWebView2Environment10 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="UserDataFolder"></span><code>property <strong>UserDataFolder</strong>                : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetUserDataFolder">GetUserDataFolder</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the user data folder that all CoreWebView2's created from this environment are using. This could be either the value passed in by the developer when creating the environment object or the calculated one for default handling. It will always be an absolute path. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment7#get_userdatafolder">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment7#get_userdatafolder</a>&quot;&gt;See the ICoreWebView2Environment7 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="ProcessInfos"></span><code>property <strong>ProcessInfos</strong>                  : <a href="uWVTypeLibrary.ICoreWebView2ProcessInfoCollection.html">ICoreWebView2ProcessInfoCollection</a>  read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetProcessInfos">GetProcessInfos</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 Returns the `ICoreWebView2ProcessInfoCollection`. Provide a list of all process using same user data folder except for crashpad process. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment8#getprocessinfos">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment8#getprocessinfos</a>&quot;&gt;See the ICoreWebView2Environment8 article.)</p>
</td></tr>
</table>
<table class="detail wide_list">
<tr class="list">
<td class="visibility"><a href="legend.html"><img  src="public.gif" alt="Public" title="Public"></a></td>
<td class="itemcode"><span id="FailureReportFolderPath"></span><code>property <strong>FailureReportFolderPath</strong>       : <a href="uWVTypes.html#wvstring">wvstring</a>                            read <a href="uWVCoreWebView2Environment.TCoreWebView2Environment.html#GetFailureReportFolderPath">GetFailureReportFolderPath</a>;</code></td>
</tr>
<tr><td colspan="2">
<p>
 `FailureReportFolderPath` returns the path of the folder where minidump files are written. Whenever a WebView2 process crashes, a crash dump file will be created in the crash dump folder. The crash dump format is minidump files. Please see [Minidump Files documentation](/windows/win32/debug/minidump-files) for detailed information. Normally when a single child process fails, a minidump will be generated and written to disk, then the `ProcessFailed` event is raised. But for unexpected crashes, a minidump file might not be generated at all, despite whether `ProcessFailed` event is raised. If there are multiple process failures at once, multiple minidump files could be generated. Thus `FailureReportFolderPath` could contain old minidump files that are not associated with a specific `ProcessFailed` event. </p>
<p>


<p>&lt;see href=&quot;<a href="https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment11#get_failurereportfolderpath">https://learn.microsoft.com/en-us/microsoft-edge/webview2/reference/win32/icorewebview2environment11#get_failurereportfolderpath</a>&quot;&gt;See the ICoreWebView2Environment11 article.)</p>
</td></tr>
</table>
<hr><span class="appinfo"><em>Generated by <a href="https://pasdoc.github.io/">PasDoc 0.16.0-snapshot</a>. </em>
</span>
</body></html>
